package com.supermarket.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.supermarket.business.domain.SupermarketInventoryChange;
import com.supermarket.business.vo.SupermarketInventoryChangeVO;

import java.util.List;

/**
 * 库存变动Service接口
 * 
 * @author ruoyi
 * @date 2025-07-21
 */
public interface ISupermarketInventoryChangeService extends IService<SupermarketInventoryChange>
{
    /**
     * 查询库存变动
     * 
     * @param changeId 库存变动主键
     * @return 库存变动
     */
    public SupermarketInventoryChange selectSysInventoryChangeByChangeId(Long changeId);

    /**
     * 查询库存变动列表
     * 
     * @param supermarketInventoryChange 库存变动
     * @return 库存变动集合
     */
    public List<SupermarketInventoryChange> selectSysInventoryChangeList(SupermarketInventoryChange supermarketInventoryChange);

    /**
     * 新增库存变动
     * 
     * @param supermarketInventoryChange 库存变动
     * @return 结果
     */
    public int insertSysInventoryChange(SupermarketInventoryChange supermarketInventoryChange);

    /**
     * 修改库存变动
     * 
     * @param supermarketInventoryChange 库存变动
     * @return 结果
     */
    public int updateSysInventoryChange(SupermarketInventoryChange supermarketInventoryChange);

    /**
     * 批量删除库存变动
     * 
     * @param changeIds 需要删除的库存变动主键集合
     * @return 结果
     */
    public int deleteSysInventoryChangeByChangeIds(Long[] changeIds);

    /**
     * 删除库存变动信息
     * 
     * @param changeId 库存变动主键
     * @return 结果
     */
    public int deleteSysInventoryChangeByChangeId(Long changeId);

    /**
     * 获取库存变动VO列表
     * @param supermarketInventoryChange
     * @return
     */
    List<SupermarketInventoryChangeVO> selectSysInventoryChangeListVO(SupermarketInventoryChange supermarketInventoryChange);

    /**
     * 获取库存变动VO详细信息
     * @param changeId
     * @return
     */
    SupermarketInventoryChangeVO selectSysInventoryChangeVOByChangeId(Long changeId);
}
